package com.hdw.job.bean.model;

import java.io.Serializable;
import java.util.Objects;

public class EtlBase implements Serializable {

	private static final long serialVersionUID = 1L;

	private String idBase;

	private String baseName;

	private Long sdJbcls;

	private String naJbcls;

	private Long idDbSou;

	private String naDbSou;

	private Long idDbTar;

	private String naDbTar;

	private String tbTar;

	private String del;

	private String qsql;

	private String idJb;

	private Byte fgCreAuto;

	private Byte status;

	public String getIdBase() {
		return idBase;
	}

	public void setIdBase(String idBase) {
		this.idBase = idBase;
	}

	public String getBaseName() {
		return baseName;
	}

	public void setBaseName(String baseName) {
		this.baseName = baseName;
	}

	public Long getSdJbcls() {
		return sdJbcls;
	}

	public void setSdJbcls(Long sdJbcls) {
		this.sdJbcls = sdJbcls;
	}

	public Byte getFgCreAuto() {
		return fgCreAuto;
	}

	public void setFgCreAuto(Byte fgCreAuto) {
		this.fgCreAuto = fgCreAuto;
	}

	public String getIdJb() {
		return idJb;
	}

	public void setIdJb(String idJb) {
		this.idJb = idJb;
	}

	public String getNaJbcls() {
		return naJbcls;
	}

	public void setNaJbcls(String naJbcls) {
		this.naJbcls = naJbcls;
	}

	public Long getIdDbSou() {
		return idDbSou;
	}

	public void setIdDbSou(Long idDbSou) {
		this.idDbSou = idDbSou;
	}

	public String getNaDbSou() {
		return naDbSou;
	}

	public void setNaDbSou(String naDbSou) {
		this.naDbSou = naDbSou;
	}

	public Long getIdDbTar() {
		return idDbTar;
	}

	public void setIdDbTar(Long idDbTar) {
		this.idDbTar = idDbTar;
	}

	public String getNaDbTar() {
		return naDbTar;
	}

	public void setNaDbTar(String naDbTar) {
		this.naDbTar = naDbTar;
	}

	public String getTbTar() {
		return tbTar;
	}

	public void setTbTar(String tbTar) {
		this.tbTar = tbTar;
	}

	public String getDel() {
		return del;
	}

	public void setDel(String del) {
		this.del = del;
	}

	public String getQsql() {
		return qsql;
	}

	public void setQsql(String qsql) {
		this.qsql = qsql;
	}

	public Byte getStatus() {
		return status;
	}

	public void setStatus(Byte status) {
		this.status = status;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;
		EtlBase etlBase = (EtlBase) o;
		return Objects.equals(idBase, etlBase.idBase) &&
				Objects.equals(baseName, etlBase.baseName) &&
				Objects.equals(sdJbcls, etlBase.sdJbcls) &&
				Objects.equals(naJbcls, etlBase.naJbcls) &&
				Objects.equals(idDbSou, etlBase.idDbSou) &&
				Objects.equals(naDbSou, etlBase.naDbSou) &&
				Objects.equals(idDbTar, etlBase.idDbTar) &&
				Objects.equals(naDbTar, etlBase.naDbTar) &&
				Objects.equals(tbTar, etlBase.tbTar) &&
				Objects.equals(del, etlBase.del) &&
				Objects.equals(qsql, etlBase.qsql) &&
				Objects.equals(idJb, etlBase.idJb) &&
				Objects.equals(fgCreAuto, etlBase.fgCreAuto) &&
				Objects.equals(status, etlBase.status);
	}

	@Override
	public int hashCode() {

		return Objects.hash(idBase, baseName, sdJbcls, naJbcls, idDbSou, naDbSou, idDbTar, naDbTar, tbTar, del, qsql, idJb, fgCreAuto, status);
	}

	@Override
	public String toString() {
		return "EtlBase{" +
				"idBase='" + idBase + '\'' +
				", baseName='" + baseName + '\'' +
				", sdJbcls=" + sdJbcls +
				", naJbcls='" + naJbcls + '\'' +
				", idDbSou=" + idDbSou +
				", naDbSou='" + naDbSou + '\'' +
				", idDbTar=" + idDbTar +
				", naDbTar='" + naDbTar + '\'' +
				", tbTar='" + tbTar + '\'' +
				", del='" + del + '\'' +
				", qsql='" + qsql + '\'' +
				", idJb='" + idJb + '\'' +
				", fgCreAuto=" + fgCreAuto +
				", status=" + status +
				'}';
	}
}